$(function() {
  //   console.log(11);
  let id = location.search.split('=')[1];
  $.ajax({
    url: 'http://localhost:3000/api/getmoneyctrlproduct',
    data: { productid: id },
    success(res) {
      console.log(res);
      // console.log(template('tmp', { result: res.result }));
      $('.cu-content').html(template('tmp', { result: res.result }));
      
    }
  });
});
